home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / C Internet Config / IC Application Source ƒ / 68k Internet Config ƒ / SpinLib.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-30  |  393 b   |  33 lines  |  [TEXT/KAHL]

  1. /*
  2.     SpinLib.h
  3.  
  4.     A beachball cursor spinning library.
  5. */
  6.  
  7. #pragma once
  8.  
  9. #ifndef _H_SpinLib_
  10. #define _H_SpinLib_
  11.  
  12. enum {
  13.     kBackwardDirection=-1,
  14.     kDefaultDirection,
  15.     kForwardDirection
  16. };
  17.  
  18. #ifdef __cplusplus
  19. extern "C"{
  20. #endif
  21.  
  22. OSErr SpinInit(void);
  23. OSErr SpinStart(short direction);
  24. OSErr SpinStop(void);
  25. OSErr SpinCleanup(void);
  26. Boolean SpinSpinning(void);
  27.  
  28. #ifdef __cplusplus
  29. }
  30. #endif
  31.  
  32. #endif
  33.